<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Dodger</title>
</head>
<body>
</body>
</html>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.4/socket.io.js"></script>
<script type="text/javascript">
    var socket = io('http://192.168.60.143:8008');
    socket.on('connect', function () {
        console.log('connect');
        socket.emit('register', '你大爷', function (data) {
            console.log(data);
        });

        socket.on('info', function (info) {
        });
    });
</script>
